﻿@model IPagedList<EraNet.Core.Model.Messages.Notices>
@using EraNet.Core;
@using EraNet.InfoSys;
@using EraNet.InfoSys.Extensions;
@using EraNet.Core.Model.Account;
@using EraNet.InfoSys.Models.Common;
@using EraNet.Core.Model.Test;
@using EraNet.Core.Model.SysManage;
@{
    Layout = "~/Areas/LMS/Views/Shared/_LayOut.cshtml";
}

@section javascript
{
   
}
<div class="wrapper">
<!-- Left column/section -->
<section class="column width6 first">									
<h3>Expandable table rows</h3>
<table class="display stylized" id="example">
<thead>
<tr>
<th>标题</th>
<th>时间</th>
</tr>
</thead>
<tbody>
@foreach (var m in Model)
{
<tr class="gradeX">
<td><a href="/Messages/NoticesInfo?noticeId=@m.Id"> @Html.Raw(string.IsNullOrEmpty(m.Title) ? m.Title : m.Title)</a></td>
<td>@m.CreateDate</td>
</tr>
}
<tr>
<tr>
    <td colspan="2" >
    <div id="page">
    <div class="pagecss">@{
    var pager = @Html.Pager(new PagerModel()
    {
        PageSize = Model.PageSize,
        TotalRecords = Model.TotalCount,
        PageIndex = Model.PageIndex,
        ShowTotalSummary = false,
        RouteActionName = "LMS_Notices",
        UseRouteLinks = true,
        RouteValues = new RouteValues { page = 0 }
    });
}
@pager
</div>
</div>
</td>
</tr>
</tbody>
</table>				
<div class="clear">&nbsp;</div>
</section>
<!-- End of Right column/section -->
</div>
